package com.qk.management.aop.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisAnno {
    //key 前缀
    String keyPrefix() default "";
    //时间
    long expire() default 0;
    //时间单位
    TimeUnit expireTimeUnit() default TimeUnit.SECONDS ;



}
